Skip to content

Upgrade toolchain and move to Python 3.14 - #87

Merged
amrtgaber merged 1 commit into
guard-default-rate-limitsfrom
python-314-toolchain-refresh
Jul 28, 2026
Merged

Upgrade toolchain and move to Python 3.14#87
amrtgaber merged 1 commit into
guard-default-rate-limitsfrom
python-314-toolchain-refresh

Conversation

@amrtgaber

Copy link
Copy Markdown
Contributor

Stacked on #86 — merge that first, then this (branch will retarget to main automatically when #86's branch is deleted).

Applies the api-template refresh with the rate-limit guard in place:

  • ruff pre-commit hook v0.8.6 → v0.16.0 (ruff-check id) + its autofixes
  • uv lock --upgrade within the Guard global rate limiting against the FastAPI 0.137+ regression #86 constraints: fastapi stays 0.135.x (canary green), starlette 0.52.1, OTel 1.44/0.65b0, structlog 26, wrapt 2
  • Python 3.14 (.python-version, requires-python, ruff target, Docker base) — all compiled deps ship cp314 wheels; 28/28 tests green on 3.14.4
  • CI: checkout@v7, setup-uv pinned v9.0.0; GCP deploy actions (auth@v3, setup-gcloud@v3) already current, untouched
  • Dockerfile uv stage pinned; weekly grouped Dependabot (uv / github-actions / docker)
  • Deliberately not bumped: dev compose Postgres 16 (coordinate with production separately)

Deploy note: the Docker base moving to 3.14 ships on the next Cloud Run deploy.

Refresh the lockfile within the rate-limit guard constraints (fastapi
stays 0.135.x, starlette 0.52; OpenTelemetry, structlog 26, wrapt 2 and
the rest move to latest), update the ruff pre-commit hook from v0.8.6 to
v0.16.0 with the ruff-check id and apply its fixes, and move to Python
3.14 across .python-version, requires-python, ruff target-version, and
the Docker base image; all compiled dependencies ship cp314 wheels. Pin
the Dockerfile uv stage, bump CI to checkout@v7 and setup-uv@v9.0.0 (no
v9 alias tag exists), and add weekly grouped Dependabot updates. The dev
compose Postgres stays on 16 pending a coordinated production upgrade.
@amrtgaber
amrtgaber force-pushed the python-314-toolchain-refresh branch from 452df8d to 6411e86 Compare July 28, 2026 03:41
@amrtgaber
amrtgaber merged commit d744fdb into guard-default-rate-limits Jul 28, 2026
@amrtgaber
amrtgaber deleted the python-314-toolchain-refresh branch July 28, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant